import React from 'react';
import {MainContext} from '../context/MainContext'


export class Test extends React.Component{
    static contextType = MainContext
    render(){
  
        return(
            <div>
              
                <p className="red">test comonent,-- {this.context}</p>
            </div>
        )
    }
}
 